SysTaskCycleCount block

Short summary

Name

SysTaskCycleCount

→POU type

→function

Category

more system blocks, blocks for target-system diagnostics, block with internal error diagnostic

Graphical interface

Available since

version 2.0.20 (for library System) and version 5.11.0 of the →runtime system

(warning) This block is supported for these →target systems or platforms: 

Functionality

This block returns the number of the →task cycles since the last application start.

The cycle count starts with 1 after these respective actions:

Return value

 

Identifier

→Data type

Description

Return value:

ULINT

number of task cycles since the last application start

Input EN and output ENO are available when →calling the block. See "Execution control: EN, ENO" for information on input EN and output ENO.

See:

Internal error diagnostic for block

If the required information is not provided by the PLC, the output ENO of the block is set to value FALSE (or an equivalent).

Example for usage within ST-editor

At present, there is no example.